package com.core.family.admin.domain.req;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.core.common.gen.BaseQuery;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @author honglei
 * @version 1.0
 * @time: 2022-6-10 11:46:34
 * @Description dto对象 文件存储
 */
@Data
public class SysStorageReq extends BaseQuery implements Serializable {


    /*
     *  主键id
     */

    private Long id;

    /*
     *  文件名称
     */

    private String name;

    /*
     *  文件类型
     */
    private Integer type;

    /*
     *  网络访问路径
     */

    private String url;

    /*
     *  相对路径
     */

    private String relativePath;

    /*
     *  绝对路径
     */

    private String absolutePath;

    /*
     *
     */
    private Integer status;

    /*
     *
     */
    private Integer isDel;

    /*
     *
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    /*
     *
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;

}
